﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraGrid;

namespace CIRDiagnoseDevice
{
    public partial class DataQuety : Form
    {
        PrintRecord printRecord;
        public DataQuety()
        {
            InitializeComponent();
            printRecord = new PrintRecord(querecord, "", DateTime.Now.ToString(), "黄喜成");
        }

        private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
        {
            printRecord.PrintTestRecord(e);
          
        }

        private void printbn_Click(object sender, EventArgs e)
        {
            printPreview.ShowDialog();
        }

     
    }
}
